package com.rms.domain;

import java.util.ArrayList;
import java.util.List;

public class Hr {

	private Integer id;

	private String name;

	private String password;

	private String email;

	private String phone;

	private Integer roleId;

	private Integer companyId;
	
	private Company company;
	
	private List<ResumeJob> resumeJobs = new ArrayList<ResumeJob>();

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public List<ResumeJob> getResumeJobs() {
		return resumeJobs;
	}

	public void setResumeJobs(List<ResumeJob> resumeJobs) {
		this.resumeJobs = resumeJobs;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Hr(String name, String password, String email, String phone, Integer roleId, Integer companyId) {
		this.name = name;
		this.password = password;
		this.email = email;
		this.phone = phone;
		this.roleId = roleId;
		this.companyId = companyId;
	}

	public Hr() {
	}

	@Override
	public String toString() {
		return "Hr [id=" + id + ", name=" + name + ", password=" + password + ", email=" + email + ", phone=" + phone
				+ ", roleId=" + roleId + ", companyId=" + companyId + "]";
	}

}